<?php
include_once '../Logica/ControlAsesoriaVirtual.php';

$idasesoria = $_POST['asesoria'];
$cedula = $_POST['cedula'];
$control = new ControlAsesoriaVirtual();

//echo sizeof($control);
if ($control->getDatosNegocio($idasesoria)==null)
{
    echo '<span class="ClickeableText" onclick="AbrirFormulario()" style="color: red;">LLenar Formulario</span>';
}else
{
    echo '<span class="ClickeableText" onclick="AbrirFormulario()" style="color: red;">LLenar Formulario</span>';
    echo "<br>";
    echo '<span class="ClickeableText" onclick="MostrarFormulario('.$idasesoria.')" style="color: blue;">Ver Formulario</span>';
}
?>
